﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
public abstract class Light
{
    //private Vector4[] _lightDir;
    private Vector4[] _lightColor;
    private int _lightCount;

    private CommandBuffer _cmd;
    
    public Vector4[] LightColor { get => _lightColor; set => _lightColor = value; }
    public CommandBuffer Cmd { get => _cmd; set => _cmd = value; }
    public int LightCount { get => _lightCount; set => _lightCount = value; }

    public Light(int s, CommandBuffer c)
    {
        _lightColor = new Vector4[s];
        _cmd = c;
    }

    public abstract void SetupLight(ref VisibleLight vL);
    public abstract void SubmitToGPU();
    public abstract void CleanUp();
}
